All Questions
7 questions
0votes
1answer
258views
ng-repeat, ng-click, directive, and controller interaction
I have this directive snippet: return { scope: {}, restrict: 'E', templateUrl: 'partials/order_table.html', controller: 'OrderController as x', link : function(...
1vote
1answer
2kviews
angularjs app design multiple instances of the same component (directive or directive+controller)
My app needs to have multiple instances of a component that manages a complex model. to display the model and the UI/DOM logic including a template with child directives I'v created a directive, the ...
3votes
2answers
4kviews
ng-repeat inserting empty anchor tags
I'm trying to create a menu using angular. A menu item can have children requiring another ng-repeat to print the sub nav items. I'm noticing some strange behavior when attempting to insert an anchor ...
0votes
1answer
742views
Initiating directive from controller
I'm having trouble figuring out a way to initiate a directive once the data has been returned. I'm trying to build a report using html tables and ng-repeat. The report object is generated using a ...
0votes
1answer
76views
Angularjs app logic structure help required
I've recently started with Angular and would really appreciate some help on how to properly structure my code the angular way. This is more of a meta question rather then technical question. I have ...
0votes
3answers
164views
When i require ngModel controller how do I access a property of the model controller
I am using ng-repeat and setting a model with it similar to the following <div ng-repeat="thing in things" ng-model="thing" my-directive> {{thing.name}} </div> then in my directive ...
3votes
1answer
4kviews
Jquery animation in a AngularJS controller or directive?
I have an app in AngularJS and in one of my view I want to implement some JQuery animation..nothing too fancy..just hide/slide of a divs ..those divs are created from ng-reapet loop and I need access ...